home *** CD-ROM | disk | FTP | other *** search
- on mouseDown
- set tButtonState to word 2 of the name of member the memberNum of sprite the clickOn of castLib the castLibNum of sprite the clickOn
- if tButtonState = "downState" then
- exit
- else
- hMakeSound("startupClick.aif", 1)
- case tButtonState of
- "upState":
- if hValidClick01() = 1 then
- hButtonScripts(tButtonState)
- end if
- "rolloverState":
- if hValidClick02() = 1 then
- hButtonScripts(tButtonState)
- end if
- end case
- end if
- end
-
- on hButtonScripts pButtonState
- hChangeCursor("watch")
- if pButtonState = "rolloverState" then
- hUndoButtonRollover()
- end if
- set tCurrentMoviePath to the moviePath
- set n to the number of chars in tCurrentMoviePath
- if the machineType = 256 then
- set tProgramMoviePath to chars(tCurrentMoviePath, 1, n - 8) & "PROGRAM\"
- else
- set tProgramMoviePath to chars(tCurrentMoviePath, 1, n - 8) & "PROGRAM:"
- end if
- go(1, tProgramMoviePath & "LOGO")
- end
-